<div ng-controller="AclCtrl">
    <h3>ACL:<button class="btn btn-warning btn-xs pull-right" ng-click="createACL()" style="margin-right: 5px;">{{'create_acl' | translate }}</button></h3>
    <table class="table table-condensed">
        <tr>
            <th>{{'is_direct' | translate }}</th>
            <th>{{'permissions' | translate }}</th>
            <th>{{'principal' | translate }}</th>
            <th width="10%">{{'action' | translate }}</th>
        </tr>
        <tr ng-repeat="ace in choseFile.aces">
            <td>{{ace['isDirect']}}</td>
            <td>{{ace['permissions'][0]}}</td>
            <td>{{ace['principal']['principalId']}}</td>
            <td>
                <a class="fa fa-trash-o fa-lg" ng-click="removeACL($index)"></a>
            </td>
        </tr>
    </table>
</div>